package com.coldchain.common.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;

public enum  DistributionsTypeEnum implements IEnum<Integer> {
    INTRA(1,"同城"),
    INTER(2,"城际");
    private Integer type;
    private String desc;

    DistributionsTypeEnum(Integer type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public String getDesc() {
        return desc;
    }

    @Override
    public Integer getValue() {
        return type;
    }
}
